home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 November / CPNL0711.ISO / admin / secure / Tor - Privoxy - Vidalia.exe / Privoxy / templates / edit-actions-url-form < prev    next >
Text File  |  2006-11-04  |  7KB  |  216 lines

  1. ##############################################################################
  2. #
  3. # File        :  $Source: /cvsroot/ijbswa/current/templates/edit-actions-url-form,v $
  4. #
  5. # Purpose     :  Template used to edit a URL pattern in an actions file.
  6. #
  7. #
  8. # Copyright   :  Written by and Copyright (C) 2001 the SourceForge
  9. #                Privoxy team. http://www.privoxy.org/
  10. #
  11. #                Original Author: Copyright (C) 2001 Jonathan Foster
  12. #                http://www.jon-foster.co.uk/
  13. #
  14. #                This program is free software; you can redistribute it 
  15. #                and/or modify it under the terms of the GNU General
  16. #                Public License as published by the Free Software
  17. #                Foundation; either version 2 of the License, or (at
  18. #                your option) any later version.
  19. #
  20. #                This program is distributed in the hope that it will
  21. #                be useful, but WITHOUT ANY WARRANTY; without even the
  22. #                implied warranty of MERCHANTABILITY or FITNESS FOR A
  23. #                PARTICULAR PURPOSE.  See the GNU General Public
  24. #                License for more details.
  25. #
  26. #                The GNU General Public License should be included with
  27. #                this file.  If not, you can view it at
  28. #                http://www.gnu.org/copyleft/gpl.html
  29. #                or write to the Free Software Foundation, Inc., 59
  30. #                Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  31. #
  32. # Revisions   :
  33. #    $Log: edit-actions-url-form,v $
  34. #    Revision 1.16  2006/07/18 14:49:14  david__schmidt
  35. #    Reorganizing the repository: swapping out what was HEAD (the old 3.1 branch)
  36. #    with what was really the latest development (the v_3_0_branch branch)
  37. #
  38. #    Revision 1.14.2.2  2002/08/23 02:22:53  hal9
  39. #    Fix a perl brain fart with <li> in comments.
  40. #
  41. #    Revision 1.14  2002/05/21 19:14:10  oes
  42. #    Added button style and jumptarget "cancel" link
  43. #
  44. #    Revision 1.13  2002/04/10 13:32:53  oes
  45. #    Made templates modular
  46. #
  47. #    Revision 1.12  2002/04/08 17:08:14  oes
  48. #    Cosmetic: make status in title lowercase
  49. #
  50. #    Revision 1.11  2002/04/05 16:01:32  oes
  51. #    Correct HTML, external Stylesheets, eye candy, some fixes
  52. #
  53. #    Revision 1.10  2002/03/26 22:29:56  swa
  54. #    we have a new homepage!
  55. #
  56. #    Revision 1.9  2002/03/24 15:23:33  jongfoster
  57. #    Name changes
  58. #
  59. #    Revision 1.8  2002/03/24 11:01:06  swa
  60. #    name change
  61. #
  62. #    Revision 1.7  2002/03/23 16:18:15  swa
  63. #    renamed every reference to the old name with foobar.
  64. #    fixed "application foobar application" tag, fixed
  65. #    "the foobar" with "foobar". left junkbuster in cvs
  66. #    comments and remarks to history untouched. should
  67. #    make final rename easier.
  68. #
  69. #    Revision 1.6  2002/03/16 15:22:19  jongfoster
  70. #    Moving 'alpha' warning to the end of the page
  71. #
  72. #    Revision 1.5  2002/03/03 10:29:13  swa
  73. #    point users to the right feedback forms,
  74. #    not necessarily the developer list.
  75. #
  76. #    Revision 1.4  2002/01/23 00:26:45  jongfoster
  77. #    Reducing length of URLs
  78. #    Where encoded and unencoded versions of a string existed, removing
  79. #    the unencoded one.
  80. #
  81. #    Revision 1.3  2002/01/17 21:33:00  jongfoster
  82. #    Replacing all references to the URL of the config interface
  83. #    with @default-cgi@
  84. #
  85. #    Revision 1.2  2002/01/17 21:21:05  jongfoster
  86. #    DOS->Unix line endings
  87. #
  88. #    Revision 1.1  2001/11/13 00:58:18  jongfoster
  89. #    New version of actions file editor templates
  90. #
  91. #
  92. ##############################################################################
  93. #
  94. # Standard support:
  95. #
  96. # This file currently produces valid HTML 4.01 Strict.
  97. #
  98. # If you change it, please save the generated page from your web browser
  99. # and then upload it to http://validator.w3.org/ for checking.
  100. #
  101. #############################################################################
  102. #
  103. # Available variables include:
  104. #
  105. # f - filename
  106. # v - version
  107. # s - section
  108. # p - pattern
  109. # u - old value of URL
  110. # jumptarget - append to eal URL to jump to relevant section
  111. #
  112. #############################################################################
  113. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  114. <html>
  115.  
  116. <head>
  117.   <meta http-equiv="Content-Style-Type" content="text/css">
  118.   <meta http-equiv="Content-Script-Type" content="text/javascript">
  119.   <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  120.   <meta name="robots" content="noindex,nofollow">
  121.   <link rel="stylesheet" type="text/css" href="@default-cgi@send-stylesheet">
  122.  
  123.   <title>Privoxy@@my-hostname@: Edit URL Pattern</title>
  124.  
  125.   <script type="text/javascript">
  126. <!--
  127. function validate(text)
  128. {
  129.   if (text=="")
  130.   {
  131.     alert("You need to type a pattern in order to continue!");
  132.     return false;
  133.   }
  134.  
  135.   return true;
  136. }
  137. //-->
  138.   </script>
  139. </head>
  140.  
  141. <body>
  142.  
  143.   <table cellpadding="20" cellspacing="10" border="0" width="100%">
  144.     <tr>
  145.       <td class="title">
  146.  
  147. #include mod-title
  148.  
  149.       </td>
  150.     </tr>
  151.  
  152. <!-- @if-unstable-start -->
  153. # This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in
  154.     <tr>
  155.       <td class="warning">
  156.  
  157. #include mod-unstable-warning
  158.  
  159.       </td>
  160.     </tr>
  161. <!-- if-unstable-end@ -->
  162.  
  163.     <tr>
  164.       <td class="box">
  165.         <h2>Edit URL Pattern</h2>
  166.         <form method="GET" action="edit-actions-url"
  167.               onSubmit="return validate(u.value);">
  168.           <p>
  169.             <input type="hidden" name="f" value="@f@">
  170.             <input type="hidden" name="v" value="@v@">
  171.             <input type="hidden" name="p" value="@p@">
  172.             <input type="text" name="u" value="@u@" size="78"><br>
  173.             <input type="submit" value="Submit">  
  174.             <input type="reset" value="Reset">  
  175.             <a class="cmd" href="edit-actions-list?f=@f@@jumptarget@">Cancel</a>
  176.           </p>
  177.         </form>
  178.       </td>
  179.     </tr>
  180.  
  181.     <tr>
  182.       <td class="box">
  183.         <h2>More Privoxy:</h2>
  184.         <ul>@menu@<li><a href="@user-manual@">Documentation</a></li></ul>
  185.       </td>
  186.     </tr>
  187.  
  188.     <tr>
  189.       <td class="info">
  190.  
  191. #include mod-support-and-service
  192.  
  193.       </td>
  194.     </tr>
  195.  
  196. <!-- @if-have-help-info-start -->
  197.     <tr>
  198.       <td class="info">
  199.  
  200. #include mod-local-help
  201.  
  202.       </td>
  203.     </tr>
  204. <!-- if-have-help-info-end@ -->
  205.  
  206.     <tr>
  207.       <td>
  208.         <small><small>Valid <a href="http://validator.w3.org/">HTML 4.01 Strict</a></small></small>
  209.       </td>
  210.     </tr>
  211.  
  212.   </table>
  213. </body>
  214.  
  215. </html>
  216.